import {PlusOutlined} from '@ant-design/icons';
import {DrawerForm, ProForm, ProFormSelect, ProFormText,} from '@ant-design/pro-components';
import {Button, message, Space} from 'antd';
import React, {useState} from 'react';

const AddForm: React.FC = () => {
  const [drawerVisit, setDrawerVisit] = useState(false);

  return (
    <>
      <Space>
        <Button
          type="primary"
          onClick={() => {
            setDrawerVisit(true);
          }}
        >
          <PlusOutlined/>
          新增用户
        </Button>
      </Space>


    </>
  );
};

export default AddForm;
